package com.ruoyi.teach.service;

import java.util.List;
import com.ruoyi.teach.domain.NbChapterKnowledgePoints;

/**
 * 章节知识点关联Service接口
 * 
 * @author ruoyi
 * @date 2021-12-08
 */
public interface INbChapterKnowledgePointsService 
{
    /**
     * 查询章节知识点关联
     * 
     * @param id 章节知识点关联主键
     * @return 章节知识点关联
     */
    public NbChapterKnowledgePoints selectNbChapterKnowledgePointsById(Long id);

    /**
     * 查询章节知识点关联列表
     * 
     * @param nbChapterKnowledgePoints 章节知识点关联
     * @return 章节知识点关联集合
     */
    public List<NbChapterKnowledgePoints> selectNbChapterKnowledgePointsList(NbChapterKnowledgePoints nbChapterKnowledgePoints);

    /**
     * 新增章节知识点关联
     * 
     * @param nbChapterKnowledgePoints 章节知识点关联
     * @return 结果
     */
    public int insertNbChapterKnowledgePoints(NbChapterKnowledgePoints nbChapterKnowledgePoints);

    /**
     * 修改章节知识点关联
     * 
     * @param nbChapterKnowledgePoints 章节知识点关联
     * @return 结果
     */
    public int updateNbChapterKnowledgePoints(NbChapterKnowledgePoints nbChapterKnowledgePoints);

    /**
     * 批量删除章节知识点关联
     * 
     * @param ids 需要删除的章节知识点关联主键集合
     * @return 结果
     */
    public int deleteNbChapterKnowledgePointsByIds(Long[] ids);

    /**
     * 删除章节知识点关联信息
     * 
     * @param id 章节知识点关联主键
     * @return 结果
     */
    public int deleteNbChapterKnowledgePointsById(Long id);
}
